package com.example.safeassistan.my.model;

import java.util.List;

public class HistoryTaskCheckLogModel {

    /**
     * success : true
     * message : 操作成功！
     * code : 200
     * result : {"records":[{"riskPointImg":null,"riskLevel":null,"createTime":"2021-04-16 17:14","tableResult":1,"checkAddress":"郑州东站","riskPointName":"电气线路检查","id":"2","realname":"管理员","departName":"厂房一","tableName":"电路检查"}],"total":1,"size":10,"current":1,"orders":[],"optimizeCountSql":true,"hitCount":false,"countId":null,"maxLimit":null,"searchCount":true,"pages":1}
     * timestamp : 1618652144364
     */

    private Boolean success;
    private String message;
    private Integer code;
    private ResultDTO result;
    private Long timestamp;

    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public ResultDTO getResult() {
        return result;
    }

    public void setResult(ResultDTO result) {
        this.result = result;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public static class ResultDTO {
        /**
         * records : [{"riskPointImg":null,"riskLevel":null,"createTime":"2021-04-16 17:14","tableResult":1,"checkAddress":"郑州东站","riskPointName":"电气线路检查","id":"2","realname":"管理员","departName":"厂房一","tableName":"电路检查"}]
         * total : 1
         * size : 10
         * current : 1
         * orders : []
         * optimizeCountSql : true
         * hitCount : false
         * countId : null
         * maxLimit : null
         * searchCount : true
         * pages : 1
         */

        private Integer total;
        private Integer size;
        private Integer current;
        private Boolean optimizeCountSql;
        private Boolean hitCount;
        private Object countId;
        private Object maxLimit;
        private Boolean searchCount;
        private Integer pages;
        private List<RecordsDTO> records;
        private List<?> orders;

        public Integer getTotal() {
            return total;
        }

        public void setTotal(Integer total) {
            this.total = total;
        }

        public Integer getSize() {
            return size;
        }

        public void setSize(Integer size) {
            this.size = size;
        }

        public Integer getCurrent() {
            return current;
        }

        public void setCurrent(Integer current) {
            this.current = current;
        }

        public Boolean isOptimizeCountSql() {
            return optimizeCountSql;
        }

        public void setOptimizeCountSql(Boolean optimizeCountSql) {
            this.optimizeCountSql = optimizeCountSql;
        }

        public Boolean isHitCount() {
            return hitCount;
        }

        public void setHitCount(Boolean hitCount) {
            this.hitCount = hitCount;
        }

        public Object getCountId() {
            return countId;
        }

        public void setCountId(Object countId) {
            this.countId = countId;
        }

        public Object getMaxLimit() {
            return maxLimit;
        }

        public void setMaxLimit(Object maxLimit) {
            this.maxLimit = maxLimit;
        }

        public Boolean isSearchCount() {
            return searchCount;
        }

        public void setSearchCount(Boolean searchCount) {
            this.searchCount = searchCount;
        }

        public Integer getPages() {
            return pages;
        }

        public void setPages(Integer pages) {
            this.pages = pages;
        }

        public List<RecordsDTO> getRecords() {
            return records;
        }

        public void setRecords(List<RecordsDTO> records) {
            this.records = records;
        }

        public List<?> getOrders() {
            return orders;
        }

        public void setOrders(List<?> orders) {
            this.orders = orders;
        }

        public static class RecordsDTO {
            /**
             * riskPointImg : null
             * riskLevel : null
             * createTime : 2021-04-16 17:14
             * tableResult : 1
             * checkAddress : 郑州东站
             * riskPointName : 电气线路检查
             * id : 2
             * realname : 管理员
             * departName : 厂房一
             * tableName : 电路检查
             */

            private Object riskPointImg;
            private Object riskLevel;
            private String createTime;
            private Integer tableResult;
            private String checkAddress;
            private String riskPointName;
            private String id;
            private String realname;
            private String departName;
            private String tableName;

            public Object getRiskPointImg() {
                return riskPointImg;
            }

            public void setRiskPointImg(Object riskPointImg) {
                this.riskPointImg = riskPointImg;
            }

            public Object getRiskLevel() {
                return riskLevel;
            }

            public void setRiskLevel(Object riskLevel) {
                this.riskLevel = riskLevel;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public Integer getTableResult() {
                return tableResult;
            }

            public void setTableResult(Integer tableResult) {
                this.tableResult = tableResult;
            }

            public String getCheckAddress() {
                return checkAddress;
            }

            public void setCheckAddress(String checkAddress) {
                this.checkAddress = checkAddress;
            }

            public String getRiskPointName() {
                return riskPointName;
            }

            public void setRiskPointName(String riskPointName) {
                this.riskPointName = riskPointName;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getRealname() {
                return realname;
            }

            public void setRealname(String realname) {
                this.realname = realname;
            }

            public String getDepartName() {
                return departName;
            }

            public void setDepartName(String departName) {
                this.departName = departName;
            }

            public String getTableName() {
                return tableName;
            }

            public void setTableName(String tableName) {
                this.tableName = tableName;
            }
        }
    }
}
